package org.apache.hadoop.hbase.index.coprocessor.regionserver;

import org.apache.hadoop.hbase.regionserver.HRegion;
import org.apache.hadoop.hbase.regionserver.SplitTransaction;
import org.apache.hadoop.hbase.util.PairOfSameType;

/**
 * Created by wow on 9/10/14.
 */
public class SplitInfo {

    PairOfSameType<HRegion> pairOfSameType;
    SplitTransaction st;

    public void setDaughtersAndTransaction(PairOfSameType<HRegion> pairOfSameType,
                                           SplitTransaction st) {
        this.pairOfSameType = pairOfSameType;
        this.st = st;
    }

    public PairOfSameType<HRegion> getDaughters() {
        return this.pairOfSameType;
    }

    public SplitTransaction getSplitTransaction() {
        return this.st;
    }

}
